package com.yuanxin.track.dbTables;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Generated;
import org.greenrobot.greendao.annotation.Id;

/**
 * <p>文件描述：登录日志信息实体类<p>
 * <p>作者：Mike<p>
 * <p>创建时间：2019/1/24<p>
 * <p>更改时间：2019/1/24<p>
 */
@Entity(nameInDb = "UserLoginLogModel")
public class UserLoginLogModel {
    @Id
    private String id;// "75aa8104-8063-42c6-bc79-85771be21731",
    private String appID;// "672e2c4e-3124-4590-ac61-cbe50a38ab5c",
    private String userID;// "75aa8104-8063-42c6-bc79-85771be21731",
    private String loginType;// "Remember|conventional(登录类型：记住密码|常规)",
    private String loginTime;// "2018-06-13 03:33:33(登录时间)",
    private String deviceType;// "IOS|ANDROID(设备类型)",
    private String deviceID;// "UUID|IMEI(设备唯一编码)",
    private String systemVersion;// "11.3.1|8.0(设备系统版本)",
    private String deviceBrands;// "APPLE|HUAWEI...(设备品牌)",
    private String deviceModel;// "6s|Meta 10(设备型号)",
    private String deviceLanguage;// "zh-cn",
    private String timeZone;// "Asia Shanghai",
    private String appVersion;// "3.0.8(应用版本号)"
    private int isUploadSuccess;//  1 日志已经上传成功
    private String logLot;
    @Generated(hash = 415417151)
    public UserLoginLogModel(String id, String appID, String userID,
            String loginType, String loginTime, String deviceType, String deviceID,
            String systemVersion, String deviceBrands, String deviceModel,
            String deviceLanguage, String timeZone, String appVersion,
            int isUploadSuccess, String logLot) {
        this.id = id;
        this.appID = appID;
        this.userID = userID;
        this.loginType = loginType;
        this.loginTime = loginTime;
        this.deviceType = deviceType;
        this.deviceID = deviceID;
        this.systemVersion = systemVersion;
        this.deviceBrands = deviceBrands;
        this.deviceModel = deviceModel;
        this.deviceLanguage = deviceLanguage;
        this.timeZone = timeZone;
        this.appVersion = appVersion;
        this.isUploadSuccess = isUploadSuccess;
        this.logLot = logLot;
    }

    @Generated(hash = 1967121802)
    public UserLoginLogModel() {
    }
    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAppID() {
        return appID;
    }

    public void setAppID(String appID) {
        this.appID = appID;
    }

    public String getUserID() {
        return userID;
    }

    public void setUserID(String userID) {
        this.userID = userID;
    }

    public String getLoginType() {
        return loginType;
    }

    public void setLoginType(String loginType) {
        this.loginType = loginType;
    }

    public String getLoginTime() {
        return loginTime;
    }

    public void setLoginTime(String loginTime) {
        this.loginTime = loginTime;
    }

    public String getDeviceType() {
        return deviceType;
    }

    public void setDeviceType(String deviceType) {
        this.deviceType = deviceType;
    }

    public String getDeviceID() {
        return deviceID;
    }

    public void setDeviceID(String deviceID) {
        this.deviceID = deviceID;
    }

    public String getSystemVersion() {
        return systemVersion;
    }

    public void setSystemVersion(String systemVersion) {
        this.systemVersion = systemVersion;
    }

    public String getDeviceBrands() {
        return deviceBrands;
    }

    public void setDeviceBrands(String deviceBrands) {
        this.deviceBrands = deviceBrands;
    }

    public String getDeviceModel() {
        return deviceModel;
    }

    public void setDeviceModel(String deviceModel) {
        this.deviceModel = deviceModel;
    }

    public String getDeviceLanguage() {
        return deviceLanguage;
    }

    public void setDeviceLanguage(String deviceLanguage) {
        this.deviceLanguage = deviceLanguage;
    }

    public String getTimeZone() {
        return timeZone;
    }

    public void setTimeZone(String timeZone) {
        this.timeZone = timeZone;
    }

    public String getAppVersion() {
        return appVersion;
    }

    public void setAppVersion(String appVersion) {
        this.appVersion = appVersion;
    }

    public int getIsUploadSuccess() {
        return isUploadSuccess;
    }

    public void setIsUploadSuccess(int isUploadFail) {
        this.isUploadSuccess = isUploadFail;
    }
    public String getLogLot() {
        return logLot;
    }

    public void setLogLot(String logLot) {
        this.logLot = logLot;
    }


    @Override
    public String toString() {
        return "UserLoginLogModel{" +
                "id='" + id + '\'' +
                ", appID='" + appID + '\'' +
                ", userID='" + userID + '\'' +
                ", loginType='" + loginType + '\'' +
                ", loginTime='" + loginTime + '\'' +
                ", deviceType='" + deviceType + '\'' +
                ", deviceID='" + deviceID + '\'' +
                ", systemVersion='" + systemVersion + '\'' +
                ", deviceBrands='" + deviceBrands + '\'' +
                ", deviceModel='" + deviceModel + '\'' +
                ", deviceLanguage='" + deviceLanguage + '\'' +
                ", timeZone='" + timeZone + '\'' +
                ", appVersion='" + appVersion + '\'' +
                ", isUploadSuccess=" + isUploadSuccess +
                ", logLot='" + logLot + '\'' +
                '}';
    }
}
